package com.itrh.org.util;

import com.itrh.org.domain.Employee;

import java.util.HashMap;
import java.util.Map;

/**
 * ClassName: LoginMap
 *
 * @author XHU_WHY
 * @version V1.0
 * @since 2024/4/8 11:29
 */
public class LoginMap {
    private static final Map<String, Employee> loginMap = new HashMap<>();
    public static Map<String, Employee> getLoginMap() {
        return loginMap;
    }
    public static Employee getEmployee(String token) {
        return loginMap.get(token);
    }
}
